<template>
  <div class="outer">
    <Tag title="美食">
      <template v-slot:content>
        <img width="200" src="../幼年我爱罗.jpeg" alt="" />
      </template>
      <template #footer>
        <span>小龙虾</span>
      </template>
    </Tag>
    <Tag title="游戏">
      <template #content>
        <ul>
          <li>CF</li>
          <li>DNF</li>
          <li>LoL</li>
        </ul>
      </template>
      <template #footer>
        <a href="###">点我玩游戏</a>
      </template>
    </Tag>
    <Tag title="电影">
      <template #content>
        <img width="200" src="../我爱罗.jpeg" alt="" />
        <p>666</p>
      </template>
    </Tag>
  </div>
</template>

<script>
import Tag from "@/components/Tag";
export default {
  name: "App",
  components: {
    Tag,
  },
};
</script>

<style scoped>
.outer {
  width: 800px;
  display: flex;
  justify-content: space-between;
}
</style>